<?php get_header(); ?>
    <div id="middle" class="fixed">
        <div class="main">
        	<div class="breadcrumbnav">当前位置：<?php if (function_exists('don_breadcrumbs')) don_breadcrumbs(); ?></div>
        	<?php if(have_posts()) :  while(have_posts()) : the_post(); ?>
            <div class="articlebox" id="post_<?php the_ID(); ?>" itemscope itemtype="http://schema.org/Article">
                <h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" itemprop="title"><?php the_title(); ?></a></h3>
                <p class="date"><a class="ds-thread-count" data-thread-key="<?php the_ID(); ?>" href="<?php the_permalink() ?>" title="<?php the_title(); ?>"></a> - 发文时间: <?php the_time('Y年m月d日'); ?></p>
                <p class="desc" itemprop="description"><?php echo cut_str(strip_tags(apply_filters('the_content', $post->post_content)),100,"…"); ?></p>
                <p class="bottom">
                	<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_permalink() ?></a> <span itemprop="datePublished" content="2014-07-25"><?php the_time('Y-m-d'); ?></span>  - <?php the_category(' - ') ?> - <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="more" itemprop="url">详情</a>
                </p>
            </div>
            <?php endwhile; ?>
			<?php don_pagination($query_string); ?>
            <?php else : ?>
            <div class="single">
                <h1>搜索 " <?php the_search_query();?> " 没有结果，请返回!</h1>
            </div>
            <?php endif; wp_reset_query(); ?>
        </div>
        <?php get_sidebar(); ?>
    </div>
    <?php get_footer(); ?>

